package com.example.mydesignmodule.yuanxing;

import androidx.annotation.NonNull;

/**
 * @author tgw
 * @date 2021/2/25
 */
public abstract class Document implements Cloneable {

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    abstract void drawTypeName();

    @NonNull
    @Override
    protected Object clone() throws CloneNotSupportedException {
        Object clone = null;
        clone = super.clone();
        return clone;

    }

    @Override
    public String toString() {
        return "Document{" +
                "type='" + type + '\'' +
                '}';
    }
}
